package itheime.com.fileDemo;

import java.io.File;

public class Test3 {
    public static void main(String[] args) {
//        File file = new File("E:\\itheima01");
        File file = new File("E:\\");
        File[] files = file.listFiles();
        for (File file1 : files) {
            System.out.println(file1);
        }
    }
}
